﻿using System.Collections.Generic;
using System.Drawing;

namespace DotNet.Common
{
    public class StarPoints
    {
        List<Point> _points = new List<Point>();

        public Point[] Points
        {
            get
            {
                return _points.ToArray();
            }
        }

        public void Clear()
        {
            _points.Clear();
        }

        public void Add(Point p)
        {
            if (_points.Contains(p))
                return;

            _points.Add(p);
        }
    }
}
